﻿<%@ Page Title="" Language="C#" MasterPageFile="~/union/Template/_Main.Master" AutoEventWireup="true" CodeBehind="Brokerage.aspx.cs" Inherits="CL.UnionWeb.union.Brokerage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <div class="tpl-content-wrapper">
            <div class="tpl-content-page-title">
                推广联盟系统
            </div>
            <ol class="am-breadcrumb">
                <li><a href="/union/index.aspx" class="am-icon-home">首页</a></li>
                <li><a href="#">预计分成</a></li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="portlet-title">
                    <div class="portlet-title">
                    <div class="caption font-green bold brokWidth">
                        预计分成(元)：<%=ExceptFare.ToString("N") %>
                    </div>
                    <div class="tpl-portlet-input tpl-fz-ml">
                        <div class="portlet-input input-small input-inline">
                            <select id="selectMonth" class="input-icon">
                                        <asp:Repeater ID="yearMonth" runat="server">
                                            <ItemTemplate>
                                                <option value="<%#Container.DataItem%>" <%#(string)Container.DataItem == currentMonth ? "selected=\"selected\"":"" %> ><%#Container.DataItem%></option>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </select>
                        </div>
                    </div>

                </div>
                <%--内容 S--%>

                <%--</div>--%>
                <div class="am-g">
                    <div class="am-u-sm-12">
                        <form class="am-form" runat="server">
                            <table class="am-table am-table-striped am-table-hover table-main">
                                <thead>
                                    <tr>
                                        <th class="table-title">时间</th>
                                        <th class="table-title">销售金额</th>
                                        <th class="table-title">返点数(万分比)</th>
                                        <th class="table-title">应得金额</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <% for (int i = 0; i < listItem.Count; i++)
                                        {%>
                                    <tr>
                                        <td><%=listItem[i].Day %></td>
                                        <td><%=listItem[i].BuyAmount %></td>
                                        <td><%=listItem[i].RebateNum %> ‱</td>
                                        <td><%=listItem[i].FanliAmount %></td>
                                    </tr>
                                    <% } %>
                                </tbody>
                            </table>
                             <div class="am-cf">
                                    <div class="am-fr">
                                        <ul id="ul_pages" class="am-pagination tpl-pagination">
                                        </ul>
                                    </div>
                                </div>
                            <hr />
                        </form>
                    </div>

                </div>
            </div>
            <%--内容 E--%>
        </div>

    </asp:Content>

    